namespace ProyectoDeTesis.Vistas
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using Telerik.Reporting;
    using Telerik.Reporting.Drawing;

    /// <summary>
    /// Summary description for ReporteVuelos.
    /// </summary>
    public partial class ReporteVuelos : Telerik.Reporting.Report
    {
        public ReporteVuelos()
        {
            //
            // Required for telerik Reporting designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

        public DateTime FechaIni
        {
            get { return Convert.ToDateTime(sqlDataSource1.Parameters[0].Value); }
            set { sqlDataSource1.Parameters[0].Value = value; }
        }

        public DateTime FechaFin
        {
            get { return Convert.ToDateTime(sqlDataSource1.Parameters[1].Value); }
            set { sqlDataSource1.Parameters[1].Value = value; }
        }

        public string Command
        {
            get { return this.sqlDataSource1.SelectCommand; }
            set { this.sqlDataSource1.SelectCommand = value; }
        }
    }
}